package com.homwee.serialportinspection.util;

public class Contants {
    public static final int KEY_TAG_HDCP14 = 0;
    public static final int KEY_TAG_HDCP = 1;
    public static final int KEY_TAG_WIDEVINE = 2;
    //public static final int KEY_TAG_ESN = 3;
    public static final int KEY_TAG_CIPLUS = 3;
    public static final int KEY_TAG_KEYMASTER = 4;
    public static final int KEY_TAG_DEVICEID = 5;
    public static final int KEY_TAG_MAC = 6;
    public static final int KEY_TAG_PLAYREADY = 7;
    public static final int KEY_TAG_PROJECT = 8;
    public static final int KEY_TAG_NETFLIX = 9;
    public static final int KEY_TAG_PLAYREADY25 = 10;

    public static final int PATH_TAG_APOLLO = 0;
    public static final int PATH_TAG_COLORMA = 1;
    public static final int PATH_TAG_PANEL = 2;
    public static final int PATH_TAG_PQ = 3;
    public static final int PATH_TAG_PQGENERAL = 4;
    public static final int PATH_TAG_MODEL = 5;
    public static final int PATH_TAG_AQ = 6;
    public static final int PATH_TAG_EDIDBIN = 7;
	
    public static final String[] KEYPATHSTRINGS = {
        "HDCP14", "HDCP", "WIDEVINE", "CIPLUS", "KEYMASTER", "DEVICEID", "MAC", "PLAYREADY", "PROJECT", "NETFLIX", "PLAYREADY25"
    };
    public static final String[] PQPATHSSTRINGS = {
        "apollo", "ColorMatrix", "panel", "pq",  "PQ_general"
    };
    public static final String[] DATAPATHSTRINGS = {
        "apollo", "config/ColorMatrix", "config/panel", "config/pq",  "config/PQ_general", "config/model", "config/aq", "config/EDID_BIN"
    };
    public static final String PATH_CHANNEL = "Channel_list";

    public static final String KEY_PATH_HDCP14 = "/vendor/tvcertificate/hdcp_key.bin";
    public static final String KEY_PATH_HDCP2 = "/vendor/tvcertificate/hdcp2_key.bin";
    public static final String KEY_PATH_WINDVINDE = "/vendor/tvcertificate/WVCENC/KeyBox.bin";
    public static final String KEY_PATH_WINDVINDE_DIR = "/vendor/tvcertificate/WVCENC";
    public static final String KEY_PATH_ESN = "/vendor/tvcertificate/netflix/KpeKph";
    public static final String KEY_PATH_CIPLUS = "/vendor/tvcertificate/ciplus.key";
    public static final String KEY_PATH_KEYMASTER = "/vendor/tvcertificate/keymaster/attestkey.bin";
    public static final String KEY_PATH_DEVICEID = "";
    public static final String KEY_PATH_PLAYREADY_1 = "/vendor/tvcertificate/PLAYREADY30/zgpriv_protected.dat";
    public static final String KEY_PATH_PLAYREADY_2 = "/vendor/tvcertificate/PLAYREADY30/bgroupcert.dat";
    public static final String KEY_PATH_PLAYREADY25_1 = "/vendor/tvcertificate/PLAYREADY25/zgpriv.dat";
    public static final String KEY_PATH_PLAYREADY25_2 = "/vendor/tvcertificate/PLAYREADY25/bgroupcert.dat";
    public static final String KEY_PATH_PLAYREADY_DIR = "/vendor/tvcertificate/PLAYREADY30";
    public static final String KEY_PATH_PLAYREADY25_DIR = "/vendor/tvcertificate/PLAYREADY25";
    public static final String KEY_PATH_HASH_KEY = "/vendor/tvcertificate/hashkey.sign";
    public static final String KEY_PATH_NETFLIX_KEY = "/vendor/tvcertificate/netflix50/KpeKph";
    public static final String KEY_PATH_NETFLIX_ESN_KEY = "/vendor/tvcertificate/netflix50/ESNID";
    public static final String KEY_PATH_NETFLIX_DIR = "/vendor/tvcertificate/netflix50";
    public static final String KEYSTATUS_INI_FILEPATH = "/vendor/tvcertificate/keystatus.ini";
    public static final String KEYSTATUS_MAC = "FACTORY_CONFIG:MAC";
    public static final String KEYSTATUS_DEVICEID = "FACTORY_CONFIG:DEVICEID";
    public static final String KEYSTATUS_HDCPKEY14 = "FACTORY_CONFIG:HDCPKEY14";
    public static final String KEYSTATUS_WIDEVINE = "FACTORY_CONFIG:WIDEVINE";
    public static final String KEYSTATUS_KEYMASTER = "FACTORY_CONFIG:KEYMASTER";
    public static final String KEYSTATUS_PLAYREADY = "FACTORY_CONFIG:PLAYREADY";
    public static final String KEYSTATUS_HASHKEY = "FACTORY_CONFIG:HASHKEY";
    public static final String KEYSTATUS_HDCPKEY2 = "FACTORY_CONFIG:HDCPKEY2";
    public static final String KEYSTATUS_NETFLIX = "FACTORY_CONFIG:NETFLIX";
    public static final String KEYSTATUS_NETFLIX_ESN_KEY = "FACTORY_CONFIG:NETFLIX_ESN";
    public static final String KEYSTATUS_CI = "FACTORY_CONFIG:CI";
    public static final String KEYSTATUS_PLAYREADY25 = "FACTORY_CONFIG:TEMP1"; //use TEMP1 in keystatus.ini

    public static final String KEY_PATH_STRING_UPDATE_DIR = "CH_SYSTEM_KEYS";
    public static final String KEY_PATH_STRING_HDCP14 = "HDCP14";
    public static final String KEY_PATH_STRING_HDCP = "HDCP";
    public static final String KEY_PATH_STRING_WIDEVINE = "WIDEVINE";
    public static final String KEY_PATH_STRING_ESN = "ESN";
    public static final String KEY_PATH_STRING_CIPLUS = "CIPLUS";
    public static final String KEY_PATH_STRING_KEYMASTER = "KEYMASTER";
    public static final String KEY_PATH_STRING_DEVICEID = "DEVICEID";
    public static final String KEY_PATH_STRING_MAC = "MAC";
    public static final String KEY_PATH_STRING_PLAYREADY = "PLAYREADY";
    public static final String KEY_PATH_STRING_PLAYREADY25 = "PLAYREADY25";
    public static final String KEY_PATH_STRING_PROJECT = "PROJECT";
    public static final String KEY_PATH_STRING_HASHKEY = "HASHKEY";
    public static final String KEY_PATH_STRING_NETFLIX = "NETFLIX";
    public static final String PQ_PATH_STRING_APOLLO = "apollo";
    public static final String PQ_PATH_STRING_COLORMATRIX = "ColorMatrix";
    public static final String PQ_PATH_STRING_PANEL = "panel";
    public static final String PQ_PATH_STRING_PQ = "pq";
    public static final String PQ_PATH_STRING_PQGENERAL = "PQ_general";
    public static final String KEY_STRING_PLAYREADY_1 = "zgpriv_protected.dat";
    public static final String KEY_STRING_PLAYREADY_2 = "bgroupcert.dat";
    public static final String KEY_STRING_NETFLIX_1 = "ESNID";
    public static final String KEY_STRING_NETFLIX_2 = "KpeKph_p";
    public static final String KEY_STRING_PLAYREADY25_1 = "zgpriv.dat";
    public static final String KEY_STRING_PLAYREADY25_2 = "bgroupcert.dat";

    public static final String KEY_UPGRADE_FORCE = "FACTORY_CONFIG:FORCEUPGRADE";
    public static final String FACTORY_AGE_MODE = "FACTORY_CONFIG:AGEMODE";
    public static final String FACTORY_M_MODE = "FACTORY_CONFIG:MMODE";
    public static final String FACTORY_KEY_HDCP20 = "KEYS_CONFIG:HDCP20";
    public static final String FACTORY_KEY_ESN = "KEYS_CONFIG:ESNKEY";
    public static final String FACTORY_KEY_CIPLUS = "KEYS_CONFIG:CIPLUS";
    public static final String FACTORY_PROJECT_ID = "product:project_id";
    public static final String FACTORY_CI_ENABLE = "CI:bCIEnabled";
    public static final String FACTORY_HBBTV_ENABLE = "HBBTV:bHBBTVEnabled";
    public static final String FACTORY_HDMI1_ENABLE = "HDMI:bHDMI1Enabled";
    public static final String FACTORY_HDMI2_ENABLE = "HDMI:bHDMI2Enabled";
    public static final String FACTORY_HDMI3_ENABLE = "HDMI:bHDMI3Enabled";
    public static final String FACTORY_HDMI4_ENABLE = "HDMI:bHDMI4Enabled";
    public static final String FACTORY_M_MODE_GO = "FACTORY_CONFIG_MMODE";
    public static final String FACORY_MACBARCODE_SHOW = "facory_macbarcode_show";
    public static final String PATH_FACTORYINI = "/vendor/tvconfig/config/factory.ini";
    public static final String PATH_CUSTOM_FUNC_INI = "/vendor/tvconfig/apollo/CustomizationFunc.ini";
    public static final String PATH_KEYINI = "/vendor/tvcertificate/specialkey.ini";
    public static final String PATH_PROJECT_INI = "/vendor/tvcertificate/project_id.ini";
    public static final String PATH_PROJECT_INFO = "/vendor/tvconfig/model.info";
    public static final String PATH_INPUT_SOURCE = "/vendor/tvconfig/apollo/inputsource.ini";
    public static final String FACTORY_FIRSTUPKEY = "FACTORY_CONFIG:UPDATEFLAG";

    /*data path*/
    public static final String FACTORY_PAGE2_PQ_PATH = "/vendor/tvconfig/config/pq";
    public static final String FACTORY_PAGE2_PQGENERAL_PATH = "/vendor/tvconfig/config/PQ_general";
    public static final String FACTORY_PAGE2_AQ_PATH = "/vendor/tvconfig/config/aq";
    public static final String FACTORY_PAGE2_APOLLO_PATH = "/vendor/tvconfig/apollo";
    public static final String FACTORY_PAGE2_COLORMA_PATH = "/vendor/tvconfig/config/ColorMatrix";
    public static final String FACTORY_PAGE2_PANEL_PATH = "/vendor/tvconfig/config/panel";
    public static final String FACTORY_PAGE2_MODEL_PATH = "/vendor/tvconfig/config/model";
    public static final String FACTORY_PAGE2_EDIDBIN_PATH = "/vendor/tvconfig/config/EDID_BIN";
    public static final String FACTORY_PAGE2_PANEL_UPDATE_PATH = "CH_UPDATE_PANEL";
    public static final String FACTORY_PAGE2_LOGO_UPDATE_PATH = "CH_UPDATE_LOGO";
    public static final String FACTORY_PAGE2_PQ_UPDATE_PATH = "CH_UPDATE_PQ";
    public static final String FACTORY_PAGE2_AQ_UPDATE_PATH = "CH_UPDATE_AQ";
    public static final String FACTORY_PAGE2_DATA_UPDATE_PATH = "CH_UPDATE_DATA";
    public static final String FACTORY_PAGE2_CUSTOMER_PATH = "/vendor/config/model/Customer_1.ini";
    public static final String FACTORY_PAGE2_TVCONFIG_PATH = "/vendor/tvconfig";
    public static final String FACTORY_PAGE1_AQ_VERSION_PATH = "/vendor/tvconfig/config/aq/AQ_Version.ini";
    public static final String FACTORY_PAGE5_NETWORK_ADB_FILE = "/sys/devices/Mstar-otg/software_id";
    //public static final String FACTORY_CHANNEL_LIST_PATH_TV = "/vendor/tvconfig/config/ch_channel_list/channel_list.bin";
    public static final String FACTORY_CHANNEL_LIST_PATH_TV = "/vendor/tvconfig/channel_list.bin";
    public static final String FACTORY_CHANNEL_LIST_PATH_USB = "ch_channel_list/channel_list.bin";
    public static final String FACTORY_PAGE2_LOGO_UPDATE_NAME = "boot0.jpg";
    /*iniPara*/
    public static final String FACTORY_INI_PANEL_PATH = "panel:m_pPanelName";
    public static final String FACTORY_INI_PANEL_VER = "INIVERSION:VER";

    //source URI
    public static final String HDMI1URI = "content://android.media.tv/passthrough/com.mediatek.tvinput%2F.hdmi.HDMIInputService%2FHW5";
    public static final String CCOMPONENTURI = "content://android.media.tv/passthrough/com.mediatek.tvinput%2F.component.ComponentInputService%2FHW3";
    public static final String COMPOSITEURI = "content://android.media.tv/passthrough/com.mediatek.tvinput%2F.composite.CompositeInputService%2FHW2";
    public static final String VGAURI = "content://android.media.tv/passthrough/com.mediatek.tvinput%2F.vga.VGAInputService%2FHW4";
    public static final String ATVURI = "content://android.media.tv/passthrough/com.mediatek.tvinput%2F.tuner.TunerInputService%2FHW1";
    public static final String DTVURI = "content://android.media.tv/passthrough/com.mediatek.tvinput%2F.tuner.TunerInputService%2FHW0";
    public static final String HDMI2URI = "content://android.media.tv/passthrough/com.mediatek.tvinput%2F.hdmi.HDMIInputService%2FHW6";
    public static final String HDMI3URI = "content://android.media.tv/passthrough/com.mediatek.tvinput%2F.hdmi.HDMIInputService%2FHW7";
    public static final String HDMI4URI = "content://android.media.tv/passthrough/com.mediatek.tvinput%2F.hdmi.HDMIInputService%2FHW8";

    // EDID path
    public static final String KEY_PATH_EDID_1_FRAME = "/vendor/tvconfig/config/EDID_BIN/Mstar_EDID1_v1.4_3D_Frame_SideHalf_Top.bin";
    public static final String KEY_PATH_EDID_1_HDR = "/vendor/tvconfig/config/EDID_BIN/Mstar_EDID1_v2.0_4K_2K_3D_HDR.bin";
    public static final String KEY_PATH_EDID_2_FRAME = "/vendor/tvconfig/config/EDID_BIN/Mstar_EDID2_v1.4_3D_Frame_SideHalf_Top.bin";
    public static final String KEY_PATH_EDID_2_HDR = "/vendor/tvconfig/config/EDID_BIN/Mstar_EDID2_v2.0_4K_2K_3D_HDR.bin";
    public static final String KEY_PATH_EDID_3_FRAME = "/vendor/tvconfig/config/EDID_BIN/Mstar_EDID3_v1.4_3D_Frame_SideHalf_Top.bin";
    public static final String KEY_PATH_EDID_3_HDR = "/vendor/tvconfig/config/EDID_BIN/Mstar_EDID3_v2.0_4K_2K_3D_HDR.bin";
    public static final String KEY_PATH_EDID_4_FRAME = "/vendor/tvconfig/config/EDID_BIN/Mstar_EDID4_v1.4_3D_Frame_SideHalf_Top.bin";
    public static final String KEY_PATH_EDID_4_HDR = "/vendor/tvconfig/config/EDID_BIN/Mstar_EDID4_v2.0_4K_2K_3D_HDR.bin";
}
